# -*- coding: utf-8 -*-
from selenium.webdriver.remote.webelement import WebElement


class ZhiDaoCourse:
    name: str
    progress: str
    element: WebElement
    url: str

    def __init__(self, name: str, progress: str, element: WebElement = None, url: str = None):
        self.name = name
        self.progress = progress
        self.element = element
        self.url = url

    def get_name(self):
        return self.name

    def get_progress(self):
        return self.progress

    def get_element(self):
        return self.element

